package info.rongtong.domain;

import java.sql.Timestamp;

/**
 * Guest entity. @author MyEclipse Persistence Tools
 */

public class Guest implements java.io.Serializable {

	// Fields

	private Integer gid;
	private String gname;
	private String gemail;
	private String gcontent;
	private Timestamp gtime;

	// Constructors

	/** default constructor */
	public Guest() {
	}

	/** minimal constructor */
	public Guest(String gname) {
		this.gname = gname;
	}

	/** full constructor */
	public Guest(String gname, String gemail, String gcontent, Timestamp gtime) {
		this.gname = gname;
		this.gemail = gemail;
		this.gcontent = gcontent;
		this.gtime = gtime;
	}

	// Property accessors

	public Integer getGid() {
		return this.gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public String getGname() {
		return this.gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	public String getGemail() {
		return this.gemail;
	}

	public void setGemail(String gemail) {
		this.gemail = gemail;
	}

	public String getGcontent() {
		return this.gcontent;
	}

	public void setGcontent(String gcontent) {
		this.gcontent = gcontent;
	}

	public Timestamp getGtime() {
		return this.gtime;
	}

	public void setGtime(Timestamp gtime) {
		this.gtime = gtime;
	}

}